<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <!--{include file='comm/header.tpl'}-->
    <title>订单详情</title>
</head>
<body>
<div class="panel panel-default">
    <div class="panel-heading">订单详情</div>
    <div class="panel-body">
        <table id="flex" style="display:none;"></table>
    </div>
</div>

</body>
<script type="text/javascript">

    var send_date = "<!--{$send_date}-->";
    var send_start_time = '<!--{$send_start_time}-->';
    var send_start_time_end = '<!--{$send_start_time_end}-->';


    var url =  "/invokingAjax-backend/production/voucherGoods.ajax?operFlg=3&para=" + <!--{$para}--> +"&send_date="+send_date+"&distribution_id="+<!--{$distribution_id}--> + "&send_start_time="+ send_start_time +"&send_start_time_end="+send_start_time_end;




    $("#flex").flexigrid({
        url:url,
        dataType: "json",
        colModel : [
            {display: "序号",width : 60,align:"center"},
            {display: "城市", width : 90,align:"left"},
            {display: "订单标识", width : 80,align:"left"},
            {display: "订单类型", name : "billType", sortable : true, width : 90,align:"left"},//mod by allen.qiang 20141030 FUN-BK-0015-下车扫描界面详情框排序功能
            {display: "配送日期", width : 90,align:"center"},
            {display: "配送开始时间", name : "send_start_time", sortable : true, width : 90,align:"center"},//mod by allen.qiang 20141030 FUN-BK-0015-下车扫描界面详情框排序功能
            {display: "配送结束时间", name : "send_end_time", sortable : true, width : 90,align:"center"},//mod by allen.qiang 20141030 FUN-BK-0015-下车扫描界面详情框排序功能
            {display: "下单时间", name : "createTime", sortable : true, width : 140,align:"center"},//mod by allen.qiang 20141030 FUN-BK-0015-下车扫描界面详情框排序功能
            {display: "打印次数", width : 70,align:"center"},
            {display: "订单编号", name : "bill_code", sortable : true, width : 140,align:"center"},//mod by allen.qiang 20141030 FUN-BK-0015-下车扫描界面详情框排序功能
            //add by allen.qiang 20140925 加字段“配送员”----start
            {display: "配送员", name : "distribution_technicia", sortable : true, width : 90,align:"center"},//mod by allen.qiang 20141030 FUN-BK-0015-下车扫描界面详情框排序功能
            //add by allen.qiang 20140925 加字段“配送员”----end
            {display: "订单商品流水号", width : 140,align:"center"},
            {display: "配送站", width : 120,align:"left"},
            {display: "商品编号", width : 180,align:"left"},
            {display: "商品名称",  name : "goods_name", sortable : true, width : 280,align:"left"},//mod by allen.qiang 20141030 FUN-BK-0015-下车扫描界面详情框排序功能
            {display: "规格", width : 240,align:"left"},
            {display: "商品数量", width : 60,align:"left"},
            {display: "餐具数量", width : 60,align:"left"},
            {display: "生日牌", width : 180,align:"left"},
            {display: "切分", width : 60,align:"left"},
            {display: "生产要求", width : 200,align:"left"}
        ],
        sortname: "send_date",
        sortorder: "desc",
        usepager: true,
        rp: 20,
        useRp: true,
        showTableToggleBtn: true
    });


</script>
</html>
